import request from '@/utils/request'

// 部门分类
export function getAllArchDept(data) {
  return request({
    url: '/archDept/getAllArchDept',
    method: 'post',
    data
  })
}

export function addArchDept(data) {
  return request({
    url: '/archDept/addArchDept',
    method: 'post',
    data
  })
}

export function deleteArchDept(data) {
  return request({
    url: '/archDept/deleteArchDept',
    method: 'post',
    data
  })
}

export function updateArchDept(data) {
  return request({
    url: '/archDept/updateArchDept',
    method: 'post',
    data
  })
}

export function setManager(data) {
  return request({
    url: '/archDept/setManager',
    method: 'post',
    data
  })
}
